CreateTypeList
TheCreateTypeList
method creates or copies a type list.
ODTypeList CreateTypeList (in ODTypeList typeList);
typeList
- A reference to the type list to be duplicated, or
kODNULL
to create an empty type list.- return value
- A reference to the newly created type list.
DISCUSSION
You can call this method if your part needs a list of types, for example, a list of part kinds it supports.If the
typeList
parameter is a reference to an existing type list, the new type list is initialized to contain a copy of each element in the existing type list. The elements in the new list are in the same order as the elements of the existing type list. Because each element of the existing list is a pointer to an ISO string, the pointers themselves are not added to the new type list; instead, each string is copied and a pointer to the new copy is added to the type list.SEE ALSO
TheODType
type (page 876).
TheODTypeList
class (page 797).
Table 11-1 on page 466 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help